<?php


 $condition=5;
 try{
    match($condition){
        1,2=>2,
        3,4=> 3
    };
 }catch(UnhandledMatchError $e){
    echo $e->getMessage();
 }

 ?>